chart, salt: Add annotations to fluent-bit pod#4834
chart, salt: Add annotations to fluent-bit pod#4834bert-e merged 2 commits intodevelopment/133.0from
Conversation
Hello eg-ayoub,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
e5434b1
e5434b1 to
6ca6b22
Compare
|
6ca6b22 to
87c360c
Compare
|
LGTM |
87c360c to
1bf14b6
Compare
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list: |
|
LGTM |
|
3b59fcc to
fc30fc3
Compare
|
fc30fc3 to
2609949
Compare
|
2609949 to
c88dc30
Compare
|
LGTM |
c88dc30 to
9265e6b
Compare
Review by Claude Code |
Add annotations containing configmap and secret to fluent-bit pod so it is restarted whenever these objects are updated. MK8S-203
9265e6b to
fa59b39
Compare
|
|
||
| def get_object_digest(path=None, checksum="sha256", *args, **kwargs): | ||
| def get_object_digest( | ||
| path=None, checksum="sha256", ignore_not_found=False, *args, **kwargs |
There was a problem hiding this comment.
`ignore_not_found` only guards against the path not being found within an existing object. If the Secret itself does not exist (`get_object` returns `None`), line 431 still raises `CommandExecutionError("Unable to find the object")` regardless of `ignore_not_found`.
This works today because Salt include ordering in `init.sls` ensures `.secret` runs before `.chart`. But the parameter name is misleading — consider either:
1. Also applying `ignore_not_found` to the object-level check (line 430-431), or
2. Renaming the parameter to something like `ignore_empty_path` to clarify its scope.
— Claude Code
| data: {} | ||
| path: 'daat' | ||
| ignore_not_found: True | ||
| result: '' |
There was a problem hiding this comment.
Tests cover `ignore_not_found=True` when the path is empty or wrong, but there is no test for `ignore_not_found=True` when the object itself is `None` (`obj: null`). Adding one would document the current behavior (raises error) and protect against unintended changes.
— Claude Code
Review by Claude Code |
|
/approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
|
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue None. Goodbye eg-ayoub. |
What/How: Add annotations containing configmap and secret to fluent-bit pod
Why: so it is restarted whenever these objects are updated.
MK8S-203